package cn.hl.hm.dao;

import java.util.List;

import cn.hl.hm.entity.DriverRoute;
import cn.hl.hm.entity.RouteVehiclePrice;

public interface RouteVehiclePriceMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(RouteVehiclePrice record);

    int insertSelective(RouteVehiclePrice record);

    RouteVehiclePrice selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(RouteVehiclePrice record);

    int updateByPrimaryKey(RouteVehiclePrice record);
    List<RouteVehiclePrice> selectRouteVehiclePrice(RouteVehiclePrice driver);
    public  List<RouteVehiclePrice> selectRouteVehiclePriceByDate(RouteVehiclePrice routeVehiclePrice);
    public List<RouteVehiclePrice> selectRouteVehiclePriceForDriver(RouteVehiclePrice routeVehiclePrice);
    public List<RouteVehiclePrice> selectRouteVehiclePriceByConditionForDriver(RouteVehiclePrice routeVehiclePrice);
    public List<RouteVehiclePrice> selectRouteVehiclePriceForAddQuartz(RouteVehiclePrice routeVehiclePrice) ;
    public List<RouteVehiclePrice> selectRouteVehiclePriceByRouteId(RouteVehiclePrice routeVehiclePrice) ;
	public List<RouteVehiclePrice> selectRouteVehiclePriceByDayLast(RouteVehiclePrice routeVehiclePrice);
	/**
	 * 获取各个线路当日最新报价
	 * @param routeVehiclePrice
	 * @return
	 */
	public List<RouteVehiclePrice> selectRouteVehiclePriceByConditionForBackSendOrder(RouteVehiclePrice routeVehiclePrice);
}